package cn.chengpengper.rpc.test.spring.annotation.provider.impl;

import cn.chengpengper.rpc.annotation.RpcService;
import cn.chengpengper.rpc.test.api.RealMethodDemoService;
import lombok.extern.slf4j.Slf4j;

/**
 * @author chengpeng.hu
 */
@Slf4j
@RpcService(interfaceClass = RealMethodDemoService.class, interfaceClassName = "cn.chengpengper.rpc.test.api.RealMethodDemoService", version = "1.0.0", group = "catwing")
public class ProviderDemoServiceImpl implements RealMethodDemoService {
    @Override
    public String hello(String name) {
        log.info("调用hello方法传入的参数为===>>>{}", name);
        return "Processed, " + name;
    }
}
